package chapter_2.demo_2;

/**
 * @author: hero生仔
 */
public class AppleFancyFormatter implements Predicate{
    @Override
    public String test(Apple apple) {
        return "this apple is " + apple.weight + "g";
    }
}
